﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PubSubLite
{
    /// <summary>
    /// Represents a subscription
    /// </summary>
    public interface ISubscriptionBase
    {
        /// <summary>
        /// ID of the subscription. Should be used for unsubscribe.
        /// </summary>
        Guid ID { get; }
        /// <summary>
        /// Type of message
        /// </summary>
        Type Type { get; }
        /// <summary>
        /// The subscriber
        /// </summary>
        object Subscriber { get; }
    }
}
